home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
p4
/
p4-1_2c.lha
/
p4-1.2c
/
lib
/
p4.h
< prev
Wrap
C/C++ Source or Header
|
1993-05-24
|
931b
|
53 lines
#ifndef _P4_H_
#define _P4_H_
#include <ctype.h>
#include <stdio.h>
#if defined(RS6000) || defined(SYMMETRY_PTX)
#include <sys/select.h>
#endif
/* for xdr - includes netinet/in.h and sys/types.h */
#include <rpc/rpc.h>
#include <signal.h>
#include <errno.h>
#include <sys/time.h>
#include <pwd.h>
#include <fcntl.h>
#include "p4_config.h"
#include "p4_MD.h"
#include "p4_mon.h"
#include "p4_sr.h"
#include "p4_funcs.h"
#ifndef P4_DPRINTFL
#define p4_dprintfl
#endif
#include "alog.h"
#include "usc.h"
#define p4_ustimer() usc_clock()
#define p4_usrollover() usc_MD_rollover_val
#define HOSTNAME_LEN 64
struct p4_procgroup_entry {
char host_name[HOSTNAME_LEN];
int numslaves_in_group;
char slave_full_pathname[100];
char username[10];
};
#define P4_MAX_PROCGROUP_ENTRIES 128
struct p4_procgroup {
struct p4_procgroup_entry entries[P4_MAX_PROCGROUP_ENTRIES];
int num_entries;
};
#endif